home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / HippoDraw / HippoDrawSrc1.1 / Hippo.subproj / Plot1D.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-25  |  1.5 KB  |  54 lines

  1. /* Plot1D.h    By Paul Kunz    March 1992
  2.  * Replacement of obsolete class used for backward compatiblity.
  3.  *
  4.  * Copyright (C)  1991  The Board of Trustees of  
  5.  * The Leland Stanford Junior University.  All Rights Reserved.
  6.  */
  7.  
  8. #define PLOT1D_H_ID "$Id: Plot1D.h,v 1.39 1992/03/30 20:17:47 pfkeb Rel $"
  9.  
  10. #import "Graphic.h"
  11. #import "Plot.h"
  12. #import "hippo.h"
  13.  
  14.  
  15. @interface Plot1D:Graphic
  16. {
  17.     id                  graphicView;    /* The View object in which drawing
  18.                      * is done */
  19.     ntuple              tuple;
  20.     display             disp;
  21.     BOOL                cutHistFlag;
  22.     char               *reffilename;    /* filename of tuple referenced */
  23.     BOOL                refFlag;    /* reference state before archiving */
  24.     BOOL                fixBinsFlag;    /* fixed bins state before archiving */
  25.     
  26.  /* data on plots used to make cut on this plot */
  27.     id            cutPlotStor;    /* Storage for cut Plots and func.*/
  28.     id            cutPlotList;    /* temporary List of cut Plots */
  29.     
  30.  /* data used by Plot used for a Cut */
  31.     id            dependList;    /* List of dependent Plots */
  32.     cutParmType         cutParms;
  33.     int                 cutNumber;    /* No longer used, but archived */
  34. }
  35. - init;
  36.  
  37. - replaceWithImage;
  38.  /*
  39.   * Receiving object replaces itself with a Plot object.  This
  40.   * method used to read HippoDraw files that were archived with
  41.   * object of this class.
  42.   */
  43.   
  44. - read:(NXTypedStream *)stream;
  45.  /*
  46.   * Standard NeXTstep de-archiving method.
  47.   */ 
  48.  
  49. - free;
  50.  /*
  51.   * Free memory allocated by receiving objects then frees itself.
  52.   */
  53. @end
  54.